package Data::Conveyor::App::Shell;

use warnings;
use strict;


our $VERSION = '0.02';


use base 'Class::Scaffold::App::CommandLine';


use constant CONTEXT => 'sif/shell';


sub app_code {
    my $self = shift;
    $self->SUPER::app_code(@_);

    my $shell = $self->delegate->make_obj('service_interface_shell', 
        base => $self,
        log  => $self->log,
        # opt  => scalar($self->opt),
    );
    $shell->print_greeting;
    $self->delegate->disconnect;
    $self->before_cmdloop($shell);
    $shell->cmdloop;
}


sub before_cmdloop {}


1;


__END__

{% USE p = PodGenerated %}

=head1 NAME

{% p.package %} - stage-based conveyor-belt-like ticket handling system

=head1 SYNOPSIS

    {% p.package %}->new;

=head1 DESCRIPTION

None yet. This is an early release; fully functional, but undocumented. The
next release will have more documentation.

=head1 METHODS

=over 4

{% p.write_methods %}

=back

{% p.write_inheritance %}

{% PROCESS standard_pod %}

=cut

